﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Topro.Application.Interface
{
    using Topro.Entity;
    using Topro.Entity.Query;
    using Topro.Entity.Request.StockOut;
    using Topro.Entity.Response.StockOut;

    /// <summary>
    /// 出库业务接口
    /// </summary>
    public interface StockOutService
    {
        /// <summary>
        /// 出库
        /// </summary>
        /// <param name="request"></param>
        JResult Save(StockOutSaveRequest stockOut);

        /// <summary>
        /// 出库查询
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        DataGrid<StockOutQueryResponse> Pager(StockOutQuery query);
    }
}
